]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Fix 10884ef7f5ba0b5a0ad96130b4e386af813819af
authorGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 19 Sep 2012 11:00:36 +0000 (13:00 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Wed, 19 Sep 2012 11:01:56 +0000 (13:01 +0200)
Bad rebase and code left in that had no effect.

js/gdm/loginDialog.js
js/ui/unlockDialog.js

index 9a85e8d33c6de2a159f88c440544a18895565b60..9de707bf79cf9165be923dd6e8e90041d871d567 100644 (file)
@@ -649,11 +649,6 @@ const LoginDialog = new Lang.Class({
         this._userVerifier.connect('ask-question', Lang.bind(this, this._askQuestion));
         this._userVerifier.connect('show-message', Lang.bind(this, this._showMessage));
         this._userVerifier.connect('reset', Lang.bind(this, this._onReset));
-        this._userVerifier.connect('not-supported', Lang.bind(this, function(verifier, error) {
-            Main.notifyError(_("Configuration problem: Could not connect to GDM"), error.message);
-            this._onReset();
-        }));
-
         this._userVerifier.connect('show-login-hint', Lang.bind(this, this._showLoginHint));
         this._userVerifier.connect('hide-login-hint', Lang.bind(this, this._hideLoginHint));
 
index 8701a430d2d2ac119febc516fb6b51b379a136de..127a924c76c888d95153d4c9bc0e0810d5547034 100644 (file)
@@ -133,12 +133,6 @@ const UnlockDialog = new Lang.Class({
         this._userVerifier.connect('show-login-hint', Lang.bind(this, this._showLoginHint));
         this._userVerifier.connect('hide-login-hint', Lang.bind(this, this._hideLoginHint));
 
-        this._userVerifier.connect('not-supported', Lang.bind(this, function(verifier, error) {
-            Main.notifyError(_("Could not connect to GDM. Screen locking was automatically disabled."), error.message);
-            this._userVerifier.clear();
-            this.emit('unlocked');
-        }));
-
         this._userWidget = new UserWidget(this._user);
         this.contentLayout.add_actor(this._userWidget.actor);